package com.lzq.serviceImpl;

import com.lzq.pojo.User;
import com.lzq.service.UserService;
import com.springmvc.annotation.Service;

import java.util.ArrayList;
import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Override
    public List<User> findUsers(String name) {
        System.out.println("props is :"+name);
        List<User> res = new ArrayList<>();
        res.add(new User("lu","1","123"));
        res.add(new User("ze","1","123"));
        res.add(new User("quan","1","123"));
        return res;
    }
}
